package com.gateway;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;


/**
 * @author mis_wu
 * @date 2021/11/28 22:17
 * @EnableDiscoveryClient 可写可不写,导入的nacos依赖(服务注册与发现)
 */
@SpringBootApplication
@Slf4j
@MapperScan("com.gateway.dao")
public class AdminGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminGatewayApplication.class,args);
        log.info("Gateway 启动成功!!!");
    }
}
